Home
last modified time | relevance | path

Searched refs:private_key_info (Results 1 – 4 of 4) sorted by relevance

/external/chromium/crypto/
Drsa_private_key_nss.cc147 PrivateKeyInfoCodec private_key_info(true); in ExportPrivateKey() local
151 if (!ReadAttribute(key_, CKA_MODULUS, private_key_info.modulus()) || in ExportPrivateKey()
153 private_key_info.public_exponent()) || in ExportPrivateKey()
155 private_key_info.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()
165 return private_key_info.Export(output); in ExportPrivateKey()
Drsa_private_key_unittest.cc54 const uint8 private_key_info[] = { in TEST() local
162 input.resize(sizeof(private_key_info)); in TEST()
163 memcpy(&input.front(), private_key_info, sizeof(private_key_info)); in TEST()
Drsa_private_key_mac.cc188 PrivateKeyInfoCodec private_key_info(true); in ExportPublicKey() local
192 return (private_key_info.Import(private_key_data) && in ExportPublicKey()
193 private_key_info.ExportPublicKeyInfo(output)); in ExportPublicKey()
/external/chromium/net/base/
Dx509_certificate_unittest.cc866 const uint8 private_key_info[] = { in TEST() local
950 input.resize(sizeof(private_key_info)); in TEST()
951 memcpy(&input.front(), private_key_info, sizeof(private_key_info)); in TEST()