Searched refs:modulus_bytelen (Results 1 – 6 of 6) sorted by relevance
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_encrypt_key.c | 39 unsigned long modulus_bitlen, modulus_bytelen, x; in katja_encrypt_key() local 65 modulus_bytelen = mp_unsigned_bin_size((key->N)); in katja_encrypt_key() 66 if (modulus_bytelen > *outlen) { in katja_encrypt_key() 67 *outlen = modulus_bytelen; in katja_encrypt_key()
|
D | katja_decrypt_key.c | 39 unsigned long modulus_bitlen, modulus_bytelen, x; in katja_decrypt_key() local 66 modulus_bytelen = mp_unsigned_bin_size( (key->N)); in katja_decrypt_key() 67 if (modulus_bytelen != inlen) { in katja_decrypt_key() 86 tmp[x] = tmp[x+(modulus_bytelen-(modulus_bitlen>>3))]; in katja_decrypt_key()
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_encrypt_key.c | 40 unsigned long modulus_bitlen, modulus_bytelen, x; in rsa_encrypt_key_ex() local 70 modulus_bytelen = mp_unsigned_bin_size( (key->N)); in rsa_encrypt_key_ex() 71 if (modulus_bytelen > *outlen) { in rsa_encrypt_key_ex() 72 *outlen = modulus_bytelen; in rsa_encrypt_key_ex()
|
D | rsa_sign_hash.c | 41 unsigned long modulus_bitlen, modulus_bytelen, x, y; in rsa_sign_hash_ex() local 68 modulus_bytelen = mp_unsigned_bin_size((key->N)); in rsa_sign_hash_ex() 69 if (modulus_bytelen > *outlen) { in rsa_sign_hash_ex() 70 *outlen = modulus_bytelen; in rsa_sign_hash_ex()
|
D | rsa_decrypt_key.c | 40 unsigned long modulus_bitlen, modulus_bytelen, x; in rsa_decrypt_key_ex() local 70 modulus_bytelen = mp_unsigned_bin_size( (key->N)); in rsa_decrypt_key_ex() 71 if (modulus_bytelen != inlen) { in rsa_decrypt_key_ex()
|
D | rsa_verify_hash.c | 39 unsigned long modulus_bitlen, modulus_bytelen, x; in rsa_verify_hash_ex() local 69 modulus_bytelen = mp_unsigned_bin_size( (key->N)); in rsa_verify_hash_ex() 70 if (modulus_bytelen != siglen) { in rsa_verify_hash_ex()
|