Lines Matching refs:mod_size
360 size_t mod_size = 0; in crypto_acipher_rsaes_decrypt() local
375 mod_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsaes_decrypt()
376 blen = mod_size - 11; in crypto_acipher_rsaes_decrypt()
448 size_t mod_size = 0; in crypto_acipher_rsaes_encrypt() local
459 mod_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsaes_encrypt()
460 if (*dst_len < mod_size) { in crypto_acipher_rsaes_encrypt()
461 *dst_len = mod_size; in crypto_acipher_rsaes_encrypt()
465 *dst_len = mod_size; in crypto_acipher_rsaes_encrypt()
466 rsa.len = mod_size; in crypto_acipher_rsaes_encrypt()
517 size_t mod_size = 0; in crypto_acipher_rsassa_sign() local
557 mod_size = crypto_bignum_num_bytes(key->n); in crypto_acipher_rsassa_sign()
558 if (*sig_len < mod_size) { in crypto_acipher_rsassa_sign()
559 *sig_len = mod_size; in crypto_acipher_rsassa_sign()
563 rsa.len = mod_size; in crypto_acipher_rsassa_sign()