Searched refs:ReadAttribute (Results 1 – 1 of 1) sorted by relevance
/external/chromium/crypto/ |
D | rsa_private_key_nss.cc | 24 static bool ReadAttribute(SECKEYPrivateKey* key, in ReadAttribute() function 151 if (!ReadAttribute(key_, CKA_MODULUS, private_key_info.modulus()) || in ExportPrivateKey() 152 !ReadAttribute(key_, CKA_PUBLIC_EXPONENT, in ExportPrivateKey() 154 !ReadAttribute(key_, CKA_PRIVATE_EXPONENT, in ExportPrivateKey() 156 !ReadAttribute(key_, CKA_PRIME_1, private_key_info.prime1()) || in ExportPrivateKey() 157 !ReadAttribute(key_, CKA_PRIME_2, private_key_info.prime2()) || in ExportPrivateKey() 158 !ReadAttribute(key_, CKA_EXPONENT_1, private_key_info.exponent1()) || in ExportPrivateKey() 159 !ReadAttribute(key_, CKA_EXPONENT_2, private_key_info.exponent2()) || in ExportPrivateKey() 160 !ReadAttribute(key_, CKA_COEFFICIENT, private_key_info.coefficient())) { in ExportPrivateKey()
|