Lines Matching refs:erv
146 int erv = 0; in hpke_aead_dec() local
196 erv = 1; in hpke_aead_dec()
199 if (erv != 1) in hpke_aead_dec()
202 return erv; in hpke_aead_dec()
222 int erv = 0; in hpke_aead_enc() local
280 erv = 1; in hpke_aead_enc()
283 if (erv != 1) in hpke_aead_enc()
286 return erv; in hpke_aead_enc()
449 int erv = 0; in hpke_encap() local
531 erv = 1; in hpke_encap()
536 return erv; in hpke_encap()
551 int erv = 0; in hpke_decap() local
623 erv = 1; in hpke_decap()
628 if (erv == 0) { in hpke_decap()
633 return erv; in hpke_decap()
650 int erv = 0; in hpke_do_middle() local
784 erv = 1; in hpke_do_middle()
790 return erv; in hpke_do_middle()
963 int erv = 0; in OSSL_HPKE_CTX_set1_authpub() local
1020 erv = 1; in OSSL_HPKE_CTX_set1_authpub()
1024 return erv; in OSSL_HPKE_CTX_set1_authpub()
1061 int erv = 1; in OSSL_HPKE_encap() local
1100 erv = hpke_do_middle(ctx, info, infolen); in OSSL_HPKE_encap()
1101 return erv; in OSSL_HPKE_encap()
1109 int erv = 1; in OSSL_HPKE_decap() local
1138 erv = hpke_decap(ctx, enc, enclen, recippriv); in OSSL_HPKE_decap()
1139 if (erv != 1) { in OSSL_HPKE_decap()
1148 erv = hpke_do_middle(ctx, info, infolen); in OSSL_HPKE_decap()
1149 return erv; in OSSL_HPKE_decap()
1239 int erv = 0; in OSSL_HPKE_export() local
1279 erv = ossl_hpke_labeled_expand(kctx, secret, secretlen, in OSSL_HPKE_export()
1286 if (erv != 1) in OSSL_HPKE_export()
1288 return erv; in OSSL_HPKE_export()
1296 int erv = 0; /* Our error return value - 1 is success */ in OSSL_HPKE_keygen() local
1349 erv = 1; in OSSL_HPKE_keygen()
1352 if (erv != 1) in OSSL_HPKE_keygen()
1355 return erv; in OSSL_HPKE_keygen()