Lines Matching refs:algorithm
15 uint64_t RSAProcessedKeySize(uint64_t algorithm, uint64_t* out_size) { in RSAProcessedKeySize() argument
17 if (algorithm < kNumAlgorithms) { in RSAProcessedKeySize()
18 key_len = siglen_map[algorithm]; in RSAProcessedKeySize()
34 key->algorithm = kNumAlgorithms; in RSAPublicKeyNew()
88 unsigned int algorithm) { in RSAVerifyBinary_f() argument
95 if (algorithm >= (unsigned int)kNumAlgorithms) in RSAVerifyBinary_f()
97 if (!RSAProcessedKeySize(algorithm, &key_size)) in RSAVerifyBinary_f()
99 sig_size = siglen_map[algorithm]; in RSAVerifyBinary_f()
112 digest = DigestBuf(buf, len, algorithm); in RSAVerifyBinary_f()
114 (uint8_t)algorithm, digest); in RSAVerifyBinary_f()
128 unsigned int algorithm) { in RSAVerifyBinaryWithDigest_f() argument
134 if (algorithm >= (unsigned int)kNumAlgorithms) in RSAVerifyBinaryWithDigest_f()
136 if (!RSAProcessedKeySize(algorithm, &key_size)) in RSAVerifyBinaryWithDigest_f()
138 sig_size = siglen_map[algorithm]; in RSAVerifyBinaryWithDigest_f()
152 (uint8_t)algorithm, digest); in RSAVerifyBinaryWithDigest_f()