Jump to main content

##

# 3.10.2 mcKeyI_ValidationKeyGet

## C

    /* Get algorithms key */
    char * mcKeyI_ValidationKeyGet( const tmcKey_IPs_s ip)

## Summary

Get the algorithms key.

## Description

This function is used to read the validation key for a specified IP (Intellectual Property) from the global key data structure `mcKeyI_AlgorithmKeys_gds`.

## Precondition

None.

## Parameters

Param | Description
--- | ---
ip | Index value for accessing the corresponding validation key in the `Keys` array.

## Returns

Returns a pointer to the validation key corresponding to the specified IP from the `Keys` array .

## Example

    tmcKey_IPs_s ip = KEY_IPD; // Example IP identifier
    char *key = mcKeyI_ValidationKeyGet(ip);

## Remarks

None.