Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/pk/katja/
Dkatja_encrypt_key.c39 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()
Dkatja_decrypt_key.c39 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/
Drsa_encrypt_key.c40 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()
Drsa_sign_hash.c41 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()
Drsa_decrypt_key.c40 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()
Drsa_verify_hash.c39 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()