7 Algorithm specification and test data requirements

33.1053G Security3GPPCryptographic algorithm requirementsRelease 17TS

For those functions that require standardization, the design authority should provide four separate deliverables: a specification of the algorithm, a set of design conformance test data, a set of algorithm input/output test data and a design and evaluation report. Requirements on the specification and test data deliverables are given in this clause, those on the design and evaluation report in 9.3.

7.1 Specification of the algorithm

An unambiguous specification of the algorithm needs to be provided which is suitable for use by implementers of the algorithm.

The specification shall include an annex which provides simulation code for the algorithm written in ANSI C. The specification may also include an annex containing illustrations of functional elements of the algorithm.

7.2 Implementors test data

The implementors test data is required to assist implementors of the algorithm in their realisation of the algorithm specification.

This set of test data, as well as including algorithm input and output data, shall include details of the internal state of the algorithm at various stages in its execution. Sufficient detail shall be provided to enable implementators to readily identity the likely location of any errors in their implementation.

Final validation of the implementation shall be performed using the design conformance test data (see subclause 7.3).

7.3 Design conformance test data

Design conformance test data is required to allow implementers of the algorithm to validate their implementations, and manufacturers to validate embodiments of the algorithm (e.g. in ASICs or FPGAs).

The test data set shall be presented as input/output test data, allowing the realisation to be tested as a ‘black box’. (i.e. the test data shall consist solely of data passed across the interfaces to the algorithm.)

The design conformance test data shall be designed to give a high degree of confidence in the correctness of any implementation of the algorithm. The set of test data shall ensure that all elements of the algorithm are fully exercised.

7.4 Format and handling of deliverables

The specification of the algorithm shall be produced on paper, and published as a 3GPP specification.

The algorithm input/output test data shall be produced on paper and on magnetic disc, and published by 3GPP. The document and disc shall be provided to 3GPP partner organisations.