Lines Matching refs:pskid
67 char *pskid; /* PSK stuff */ member
695 if (ctx->psk == NULL || ctx->psklen == 0 || ctx->pskid == NULL) { in hpke_do_middle()
705 pskidlen = (ctx->psk == NULL ? 0 : strlen(ctx->pskid)); in hpke_do_middle()
718 (unsigned char *)ctx->pskid, pskidlen) != 1) { in hpke_do_middle()
856 OPENSSL_free(ctx->pskid); in OSSL_HPKE_CTX_free()
870 const char *pskid, in OSSL_HPKE_CTX_set1_psk() argument
873 if (ctx == NULL || pskid == NULL || psk == NULL || psklen == 0) { in OSSL_HPKE_CTX_set1_psk()
885 if (strlen(pskid) > OSSL_HPKE_MAX_PARMLEN) { in OSSL_HPKE_CTX_set1_psk()
889 if (strlen(pskid) == 0) { in OSSL_HPKE_CTX_set1_psk()
904 OPENSSL_free(ctx->pskid); in OSSL_HPKE_CTX_set1_psk()
905 ctx->pskid = OPENSSL_strdup(pskid); in OSSL_HPKE_CTX_set1_psk()
906 if (ctx->pskid == NULL) { in OSSL_HPKE_CTX_set1_psk()