Home
last modified time | relevance | path

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

/external/python/rsa/rsa/
Dpkcs1_v2.py54 hash_length = pkcs1.HASH_METHODS[hasher]().digest_size
63 if length > (2**32 * hash_length):
67 hash_length=hash_length,
80 for counter in range(common.ceil_div(length, hash_length) + 1)
/external/libmtp/src/
Dmtpz.c254 void mtpz_encryption_encrypt_mac(unsigned char *hash, unsigned int hash_length, unsigned char *seed…
921 void mtpz_encryption_encrypt_mac(unsigned char *hash, unsigned int hash_length, unsigned char *seed… in mtpz_encryption_encrypt_mac() argument
923 if (hash == NULL || hash_length != 16) in mtpz_encryption_encrypt_mac()
935 mtpz_encryption_cipher_advanced(hash, hash_length, enc_hash, 16, 1); in mtpz_encryption_encrypt_mac()
953 int len = (hash_length == 16) ? 10 : in mtpz_encryption_encrypt_mac()
954 (hash_length == 24) ? 12 : 32; in mtpz_encryption_encrypt_mac()
956 unsigned char *expanded = mtpz_encryption_expand_key(hash, hash_length, len, &exp_len); in mtpz_encryption_encrypt_mac()