Home
last modified time | relevance | path

Searched refs:khlen (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/libecc/src/examples/sig/rsa/
H A Drsa.c1305 u32 k, pslen, khlen; in rsaes_oaep_encrypt() local
1377 khlen = (k - hlen - 1); in rsaes_oaep_encrypt()
1378 MUST_HAVE((khlen <= sizeof(dbmask)), ret, err); in rsaes_oaep_encrypt()
1379 ret = _mgf1(seed, hlen, dbmask, khlen, mgf_hash_type); EG(ret, err); in rsaes_oaep_encrypt()
1381 for(i = 0; i < khlen; i++){ in rsaes_oaep_encrypt()
1385 MUST_HAVE((khlen < (u32)((u32)0x1 << 16)), ret, err); in rsaes_oaep_encrypt()
1386 ret = _mgf1(maskeddb, (u16)khlen, seedmask, hlen, mgf_hash_type); EG(ret, err); in rsaes_oaep_encrypt()
1424 u32 k, khlen; in _rsaes_oaep_decrypt() local
1486 khlen = (k - hlen - 1); in _rsaes_oaep_decrypt()
1487 MUST_HAVE((khlen < (u32)((u32)0x1 << 16)), ret, err); in _rsaes_oaep_decrypt()
[all …]