FreeRTOS-Plus/ThirdParty/WolfSSL-FIPS-Ready/wolfcrypt/src/asn.c
/* find beginning of traditional key inside PKCS#8 unencrypted buffer
 * return traditional length on success, with inOutIdx at beginning of
 * traditional
 * return negative on failure/error */
find beginning of traditional key inside PKCS#8 unencrypted buffer
return traditional length on success, with inOutIdx at beginning of
traditional
return negative on failure/error
find beginning of traditional key inside PKCS#8 unencrypted buffer return traditional length on success with inOutIdx at beginning of traditional return negative on failure / error
int wc_GetPkcs8TraditionalOffset(byte* input, word32* inOutIdx, word32 sz)
{
    int length;
    word32 algId;
    if (input == NULL || inOutIdx == NULL || (*inOutIdx > sz))
        return BAD_FUNC_ARG;
    length = ToTraditionalInline_ex(input, inOutIdx, sz, &algId);
    return length;
}
int wc_GetPkcs8TraditionalOffset ( byte * input , word32 * inOutIdx , word32 sz ) { int length ; word32 algId ; if ( input == NULL || inOutIdx == NULL || ( * inOutIdx > sz ) ) return BAD_FUNC_ARG ; length = ToTraditionalInline_ex ( input , inOutIdx , sz , & algId ) ; return length ; }
find beginning of traditional key inside PKCS#8 unencrypted buffer
 return traditional length on success, with inOutIdx at beginning of
 traditional
 return negative on failure/error
find beginning of traditional key inside PKCS#8 unencrypted buffer return traditional length on success with inOutIdx at beginning of traditional return negative on failure / error