/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_decrypt_key.c | 39 unsigned long modulus_bitlen, modulus_bytelen, x; in katja_decrypt_key() local 57 modulus_bitlen = mp_count_bits( (key->N)); in katja_decrypt_key() 60 modulus_bitlen = ((modulus_bitlen << 1) / 3); in katja_decrypt_key() 63 modulus_bitlen -= (modulus_bitlen & 7) + 8; in katja_decrypt_key() 85 for (x = 0; x < (modulus_bitlen >> 3); x++) { in katja_decrypt_key() 86 tmp[x] = tmp[x+(modulus_bytelen-(modulus_bitlen>>3))]; in katja_decrypt_key() 90 err = pkcs_1_oaep_decode(tmp, x, lparam, lparamlen, modulus_bitlen, hash_idx, in katja_decrypt_key()
|
D | katja_encrypt_key.c | 39 unsigned long modulus_bitlen, modulus_bytelen, x; in katja_encrypt_key() local 56 modulus_bitlen = mp_count_bits((key->N)); in katja_encrypt_key() 59 modulus_bitlen = ((modulus_bitlen << 1) / 3); in katja_encrypt_key() 62 modulus_bitlen -= (modulus_bitlen & 7) + 8; in katja_encrypt_key() 74 lparamlen, modulus_bitlen, prng, prng_idx, hash_idx, in katja_encrypt_key()
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_pkcs.h | 30 unsigned long modulus_bitlen, 39 unsigned long modulus_bitlen, 47 unsigned long modulus_bitlen, prng_state *prng, 53 unsigned long modulus_bitlen, int hash_idx, 60 unsigned long modulus_bitlen, 66 unsigned long modulus_bitlen, int *res);
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_verify_hash.c | 39 unsigned long modulus_bitlen, modulus_bytelen, x; in rsa_verify_hash_ex() local 66 modulus_bitlen = mp_count_bits( (key->N)); in rsa_verify_hash_ex() 95 err = pkcs_1_pss_decode(hash, hashlen, tmpbuf, x, saltlen, hash_idx, modulus_bitlen, stat); in rsa_verify_hash_ex() 110 outlen = ((modulus_bitlen >> 3) + (modulus_bitlen & 7 ? 1 : 0)) - 3; in rsa_verify_hash_ex() 117 …if ((err = pkcs_1_v1_5_decode(tmpbuf, x, LTC_PKCS_1_EMSA, modulus_bitlen, out, &outlen, &decoded))… in rsa_verify_hash_ex()
|
D | rsa_encrypt_key.c | 40 unsigned long modulus_bitlen, modulus_bytelen, x; in rsa_encrypt_key_ex() local 67 modulus_bitlen = mp_count_bits( (key->N)); in rsa_encrypt_key_ex() 80 lparamlen, modulus_bitlen, prng, prng_idx, hash_idx, in rsa_encrypt_key_ex() 88 modulus_bitlen, prng, prng_idx, in rsa_encrypt_key_ex()
|
D | rsa_decrypt_key.c | 40 unsigned long modulus_bitlen, modulus_bytelen, x; in rsa_decrypt_key_ex() local 67 modulus_bitlen = mp_count_bits( (key->N)); in rsa_decrypt_key_ex() 90 err = pkcs_1_oaep_decode(tmp, x, lparam, lparamlen, modulus_bitlen, hash_idx, in rsa_decrypt_key_ex() 94 err = pkcs_1_v1_5_decode(tmp, x, LTC_PKCS_1_EME, modulus_bitlen, out, outlen, stat); in rsa_decrypt_key_ex()
|
D | rsa_sign_hash.c | 41 unsigned long modulus_bitlen, modulus_bytelen, x, y; in rsa_sign_hash_ex() local 65 modulus_bitlen = mp_count_bits((key->N)); in rsa_sign_hash_ex() 78 hash_idx, modulus_bitlen, out, &x)) != CRYPT_OK) { in rsa_sign_hash_ex() 118 modulus_bitlen, NULL, 0, in rsa_sign_hash_ex()
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
D | pkcs_1_pss_decode.c | 35 unsigned long modulus_bitlen, int *res) in pkcs_1_pss_decode() argument 54 modulus_len = (modulus_bitlen>>3) + (modulus_bitlen & 7 ? 1 : 0); in pkcs_1_pss_decode() 99 if ((sig[0] & ~(0xFF >> ((modulus_len<<3) - (modulus_bitlen-1)))) != 0) { in pkcs_1_pss_decode() 115 DB[0] &= 0xFF >> ((modulus_len<<3) - (modulus_bitlen-1)); in pkcs_1_pss_decode()
|
D | pkcs_1_v1_5_decode.c | 35 unsigned long modulus_bitlen, in pkcs_1_v1_5_decode() argument 46 modulus_len = (modulus_bitlen >> 3) + (modulus_bitlen & 7 ? 1 : 0); in pkcs_1_v1_5_decode()
|
D | pkcs_1_v1_5_encode.c | 36 unsigned long modulus_bitlen, in pkcs_1_v1_5_encode() argument 58 modulus_len = (modulus_bitlen >> 3) + (modulus_bitlen & 7 ? 1 : 0); in pkcs_1_v1_5_encode()
|
D | pkcs_1_pss_encode.c | 36 unsigned long modulus_bitlen, in pkcs_1_pss_encode() argument 57 modulus_len = (modulus_bitlen>>3) + (modulus_bitlen & 7 ? 1 : 0); in pkcs_1_pss_encode() 150 out[0] &= 0xFF >> ((modulus_len<<3) - (modulus_bitlen-1)); in pkcs_1_pss_encode()
|
D | pkcs_1_oaep_encode.c | 36 unsigned long modulus_bitlen, prng_state *prng, in pkcs_1_oaep_encode() argument 59 modulus_len = (modulus_bitlen >> 3) + (modulus_bitlen & 7 ? 1 : 0); in pkcs_1_oaep_encode()
|
D | pkcs_1_oaep_decode.c | 35 unsigned long modulus_bitlen, int hash_idx, in pkcs_1_oaep_decode() argument 56 modulus_len = (modulus_bitlen >> 3) + (modulus_bitlen & 7 ? 1 : 0); in pkcs_1_oaep_decode()
|
/external/dropbear/libtomcrypt/ |
D | crypt.tex | 3074 unsigned long modulus_bitlen, 3096 unsigned long modulus_bitlen, 3121 unsigned long modulus_bitlen, 3154 unsigned long modulus_bitlen, 3185 unsigned long modulus_bitlen, 3213 unsigned long modulus_bitlen,
|