Lines Matching refs:os
77 ASN1_OCTET_STRING *os = (ASN1_OCTET_STRING *)pkey->pkey.ptr;
78 if (os)
80 if (os->data)
81 OPENSSL_cleanse(os->data, os->length);
82 ASN1_OCTET_STRING_free(os);
109 ASN1_OCTET_STRING *os;
110 os = ASN1_OCTET_STRING_new();
111 if (!os || !ASN1_OCTET_STRING_set(os, *pder, derlen))
113 EVP_PKEY_assign(pkey, EVP_PKEY_HMAC, os);
120 ASN1_OCTET_STRING *os = (ASN1_OCTET_STRING *)pkey->pkey.ptr;
125 *pder = OPENSSL_malloc(os->length);
130 memcpy(*pder, os->data, os->length);
133 *pder += os->length;
136 return os->length;