Lines Matching refs:test_stanza
506 struct test_stanza_st *test_stanza = NULL; in test_key() local
514 if (!TEST_ptr(test_stanza = &test_stanzas[idx]) in test_key()
515 || !TEST_ptr(key = lookup_key(test_stanza->keytype))) in test_key()
529 if (test_stanza->pem_write_bio_PrivateKey != NULL) { in test_key()
532 for (i = 0; i < OSSL_NELEM(test_stanza->structure); i++) { in test_key()
533 const char *structure = test_stanza->structure[i]; in test_key()
536 test_stanza->keytype, structure); in test_key()
538 test_stanza->pem_write_bio_PrivateKey, in test_key()
539 test_stanza->pem_read_bio_PrivateKey, in test_key()
547 if (test_stanza->pem_write_bio_PublicKey != NULL) { in test_key()
552 for (i = 0; i < OSSL_NELEM(test_stanza->structure); i++) { in test_key()
553 const char *structure = test_stanza->structure[i]; in test_key()
556 test_stanza->keytype, structure); in test_key()
558 test_stanza->pem_write_bio_PublicKey, in test_key()
559 test_stanza->pem_read_bio_PublicKey, in test_key()
567 if (test_stanza->pem_write_bio_params != NULL) { in test_key()
570 for (i = 0; i < OSSL_NELEM(test_stanza->structure); i++) { in test_key()
571 const char *structure = test_stanza->structure[i]; in test_key()
574 test_stanza->keytype, structure); in test_key()
576 test_stanza->pem_write_bio_params, in test_key()
577 test_stanza->pem_read_bio_params, in test_key()
586 if (test_stanza->pem_write_bio_PUBKEY != NULL) { in test_key()
593 test_stanza->keytype, structure); in test_key()
595 test_stanza->pem_write_bio_PUBKEY, in test_key()
596 test_stanza->pem_read_bio_PUBKEY, in test_key()
604 if (test_stanza->i2d_PrivateKey != NULL) { in test_key()
607 for (i = 0; i < OSSL_NELEM(test_stanza->structure); i++) { in test_key()
608 const char *structure = test_stanza->structure[i]; in test_key()
611 test_stanza->keytype, structure); in test_key()
613 test_stanza->i2d_PrivateKey, in test_key()
614 test_stanza->d2i_PrivateKey, in test_key()
622 if (test_stanza->i2d_PublicKey != NULL) { in test_key()
627 for (i = 0; i < OSSL_NELEM(test_stanza->structure); i++) { in test_key()
628 const char *structure = test_stanza->structure[i]; in test_key()
631 test_stanza->keytype, structure); in test_key()
633 test_stanza->i2d_PublicKey, in test_key()
634 test_stanza->d2i_PublicKey, in test_key()
642 if (test_stanza->i2d_params != NULL) { in test_key()
645 for (i = 0; i < OSSL_NELEM(test_stanza->structure); i++) { in test_key()
646 const char *structure = test_stanza->structure[i]; in test_key()
649 test_stanza->keytype, structure); in test_key()
651 test_stanza->i2d_params, test_stanza->d2i_params, in test_key()
659 if (test_stanza->i2d_PUBKEY != NULL) { in test_key()
666 test_stanza->keytype, structure); in test_key()
668 test_stanza->i2d_PUBKEY, test_stanza->d2i_PUBKEY, in test_key()