Home
last modified time | relevance | path

Searched refs:DSA_SUBPRIME_BYTES (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/common/crypto/dsa/
H A Ddsa_impl.c188 if (subprime_bytes != DSA_SUBPRIME_BYTES) { in dsa_genkey_pair()
241 bkey->private_x_bits = CRYPTO_BYTES2BITS(DSA_SUBPRIME_BYTES); in dsa_genkey_pair()
242 bignum2bytestring(bkey->private_x, &(dsakey.x), DSA_SUBPRIME_BYTES); in dsa_genkey_pair()
268 if (DSA_SUBPRIME_BYTES != subprime_bytes) { in dsa_sign()
274 if (DSA_SUBPRIME_BYTES < value_bytes) { in dsa_sign()
401 bignum2bytestring(out, &(dsakey.r), DSA_SUBPRIME_BYTES); in dsa_sign()
402 bignum2bytestring(out + DSA_SUBPRIME_BYTES, &(dsakey.s), in dsa_sign()
403 DSA_SUBPRIME_BYTES); in dsa_sign()
434 if (DSA_SUBPRIME_BYTES != subprime_bytes) { in dsa_verify()
487 CHARLEN2BIGNUMLEN(DSA_SUBPRIME_BYTES))) != BIG_OK) { in dsa_verify()
[all …]
H A Ddsa_impl.h42 #define DSA_SUBPRIME_BYTES (DSA_SUBPRIME_BITS >> 3) macro
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDSA.c297 if (ulDataLen != DSA_SUBPRIME_BYTES) { in soft_dsa_sign()
339 if (ulDataLen != DSA_SUBPRIME_BYTES) { in soft_dsa_verify()
475 uchar_t privalue[DSA_SUBPRIME_BYTES]; in soft_dsa_genkey_pair()