Lines Matching refs:keyBlob
109 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) {
155 *keyBlob = derData.release();
160 static EVP_PKEY* unwrap_key(const uint8_t* keyBlob, const size_t keyBlobLength) {
163 const uint8_t* p = keyBlob;
164 const uint8_t *const end = keyBlob + keyBlobLength;
166 if (keyBlob == NULL) {
383 uint8_t** keyBlob, size_t* keyBlobLength) {
410 if (wrap_key(pkey.get(), EVP_PKEY_type(pkey->type), keyBlob, keyBlobLength)) {
592 const uint8_t* keyBlob, const size_t keyBlobLength,
603 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength));
711 const uint8_t* keyBlob, const size_t keyBlobLength,
720 Unique_EVP_PKEY pkey(unwrap_key(keyBlob, keyBlobLength));