Lines Matching refs:str_value_map

1250     static const OSSL_ITEM str_value_map[] = {  in fix_rsa_padding_mode()  local
1319 for (i = 0; i < OSSL_NELEM(str_value_map); i++) { in fix_rsa_padding_mode()
1320 if (ctx->p1 == (int)str_value_map[i].id) in fix_rsa_padding_mode()
1323 if (i == OSSL_NELEM(str_value_map)) { in fix_rsa_padding_mode()
1333 if (str_value_map[i].ptr == NULL) { in fix_rsa_padding_mode()
1337 ctx->p2 = str_value_map[i].ptr; in fix_rsa_padding_mode()
1348 for (i = 0; i < OSSL_NELEM(str_value_map); i++) { in fix_rsa_padding_mode()
1349 if (strcmp(ctx->p2, str_value_map[i].ptr) == 0) in fix_rsa_padding_mode()
1353 if (i == OSSL_NELEM(str_value_map)) { in fix_rsa_padding_mode()
1360 *(int *)ctx->orig_p2 = str_value_map[i].id; in fix_rsa_padding_mode()
1362 ctx->p1 = str_value_map[i].id; in fix_rsa_padding_mode()
1375 static const OSSL_ITEM str_value_map[] = { in fix_rsa_pss_saltlen() local
1405 for (i = 0; i < OSSL_NELEM(str_value_map); i++) { in fix_rsa_pss_saltlen()
1406 if (ctx->p1 == (int)str_value_map[i].id) in fix_rsa_pss_saltlen()
1409 if (i == OSSL_NELEM(str_value_map)) { in fix_rsa_pss_saltlen()
1413 strncpy(ctx->name_buf, str_value_map[i].ptr, sizeof(ctx->name_buf) - 1); in fix_rsa_pss_saltlen()
1428 for (i = 0; i < OSSL_NELEM(str_value_map); i++) { in fix_rsa_pss_saltlen()
1429 if (strcmp(ctx->p2, str_value_map[i].ptr) == 0) in fix_rsa_pss_saltlen()
1433 val = i == OSSL_NELEM(str_value_map) ? atoi(ctx->p2) in fix_rsa_pss_saltlen()
1434 : (int)str_value_map[i].id; in fix_rsa_pss_saltlen()
1455 static const OSSL_ITEM str_value_map[] = { in fix_hkdf_mode() local
1469 for (i = 0; i < OSSL_NELEM(str_value_map); i++) { in fix_hkdf_mode()
1470 if (ctx->p1 == (int)str_value_map[i].id) in fix_hkdf_mode()
1473 if (i == OSSL_NELEM(str_value_map)) in fix_hkdf_mode()
1475 ctx->p2 = str_value_map[i].ptr; in fix_hkdf_mode()
1486 for (i = 0; i < OSSL_NELEM(str_value_map); i++) { in fix_hkdf_mode()
1487 if (strcmp(ctx->p2, str_value_map[i].ptr) == 0) in fix_hkdf_mode()
1490 if (i == OSSL_NELEM(str_value_map)) in fix_hkdf_mode()
1493 ret = str_value_map[i].id; in fix_hkdf_mode()
1495 ctx->p1 = str_value_map[i].id; in fix_hkdf_mode()