
AI_ECPubKeyBER
AI_ECPubKeyBER
Purpose:
This AI allows you to specify an EC public key and underlying EC parameters in order to build an acceleration table.
Type of information this allows you to use:
the encoding of an ANSI X9.62 Version 1 algorithm identifier that specifies an elliptic curve public key. An initialized AI_ECPubKeyBER or AI_ECPubKey algorithm object can be used as the input parameter ParameterInfoType when initializing an AI_ECBuildPubKeyAccelTable.
Format of info supplied to B_SetAlgorithmInfo:
pointer to an ITEM structure that contains the ANSI
The BER encoding can be obtained by calling B_GetKeyInfo from a key object of type KI_ECPublicBER.
The encoding is converted to DER before it is copied to the key object. B_SetKeyInfo returns BE_WRONG_KEY_INFO if the BER encoding is incorrect.
Format of info returned by B_GetAlgorithmInfo:
pointer to an ITEM structure that contains the address and length of the BER encoding.
Crypto-C procedures to use with algorithm object:
B_SetAlgorithmInfo and B_GetAlgorithmInfo.
Can get this info type if algorithm object already has:
AI_ECPubKey or AI_ECPubKeyBER.
8 4 | R S A B S A F E C r y p t o - C L i b r a r y R e f e r e n c e M a n u a l |