Home | History | Annotate | Download | only in crypto

Lines Matching refs:key_

45   if (key_)
46 SECKEY_DestroyPrivateKey(key_);
70 rsa_key->key_ = private_key.release();
97 copy->key_ = SECKEY_CopyPrivateKey(key);
99 if (!copy->key_ || !copy->public_key_) {
109 copy->key_ = SECKEY_CopyPrivateKey(key_);
119 if (!ReadAttribute(key_, CKA_MODULUS, private_key_info.modulus()) ||
120 !ReadAttribute(key_, CKA_PUBLIC_EXPONENT,
122 !ReadAttribute(key_, CKA_PRIVATE_EXPONENT,
124 !ReadAttribute(key_, CKA_PRIME_1, private_key_info.prime1()) ||
125 !ReadAttribute(key_, CKA_PRIME_2, private_key_info.prime2()) ||
126 !ReadAttribute(key_, CKA_EXPONENT_1, private_key_info.exponent1()) ||
127 !ReadAttribute(key_, CKA_EXPONENT_2, private_key_info.exponent2()) ||
128 !ReadAttribute(key_, CKA_COEFFICIENT, private_key_info.coefficient())) {
147 RSAPrivateKey::RSAPrivateKey() : key_(NULL), public_key_(NULL) {