Lines Matching refs:os
87 ASN1_OCTET_STRING *os; in hmac_key_free() local
89 if ((os = pkey->pkey.ptr) == NULL) in hmac_key_free()
92 if (os->data != NULL) in hmac_key_free()
93 explicit_bzero(os->data, os->length); in hmac_key_free()
95 ASN1_OCTET_STRING_free(os); in hmac_key_free()
113 ASN1_OCTET_STRING *os = NULL; in hmac_set_priv_key() local
121 if ((os = ASN1_OCTET_STRING_new()) == NULL) in hmac_set_priv_key()
124 if (!ASN1_OCTET_STRING_set(os, priv, len)) in hmac_set_priv_key()
127 pkey->pkey.ptr = os; in hmac_set_priv_key()
132 ASN1_OCTET_STRING_free(os); in hmac_set_priv_key()
140 ASN1_OCTET_STRING *os; in hmac_get_priv_key() local
143 if ((os = pkey->pkey.ptr) == NULL) in hmac_get_priv_key()
147 *len = os->length; in hmac_get_priv_key()
151 CBS_init(&cbs, os->data, os->length); in hmac_get_priv_key()